package com.dmitriyp.movie.dao;

import com.dmitriyp.movie.implementation.HibernateMovieManger;

/**
 * Class responsible for creation different implementation of
 * {@link IMovieManager}
 * 
 * @author Dmitriy
 * 
 */
public class MovieManagerFactory {

	public IMovieManager createMovieManager() {
		return new HibernateMovieManger(
				"com/dmitriyp/movie/implementation/hibernate.cfg.xml");
	}
}
